<?php //e($javascript->codeBlock('$(document).ready(function() {$("#ImageAddForm").ajaxForm(function() {$(".content").load("/admin/images");});});'));?>
<div id="image">
<h2>Image Upload</h2>
<?php e($form->create('Image', array('action'=>'upload', 'enctype'=>'multipart/form-data')));?>
	<fieldset id="image-add">
		<legend>Upload Image</legend>
	<?php e($form->file('filename', array('class'=>'multi accept-jpg|gif|png')));?>
	<?php e($form->input('alt'));?>
	<?php e($form->input('copyright_owner'));?>
	<?php e($form->input('copyright_id', array('options' => $copyright_type)));?>
	<?php e($form->input('lat'));?><?php e($form->input('long'));?>
	<?php e($form->submit('Upload'));?>
	</fieldset>
<?php e($form->end());?>
</div>